package club.banyuan.oop.VideoDemo;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/19 下午5:01
 */
public class Video {
        private String name ;
        private boolean marking;
        private String average;


    public Video(){}

    public Video(String name, boolean marking, String average) {
        this.name = name;
        this.marking = marking;
        this.average = average;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean getMarking() {
        return marking;
    }

    public void setMarking(boolean marking) {
        this.marking = marking;
    }

    public String getAverage() {
        return average;
    }

    public void setAverage(String average) {
        this.average = average;
    }

    @Override
    public String toString() {
        return "Video{" +
                "name='" + name + '\'' +
                ", marking=" + marking +
                ", average='" + average + '\'' +
                '}';
    }
}
